﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Globalization;
using System.Linq;
using System.Text;

namespace OA.Utility
{
    public class WebConfig
    {
        private static string _connectionString = string.Empty;
        /// <summary>
        /// 连接字符串
        /// </summary>
        public static string ConnectionString
        {
            get
            {
                if (string.IsNullOrEmpty(_connectionString))
                    _connectionString = ConfigurationManager.ConnectionStrings["connectionString"].ToString();
                return _connectionString;
            }
        }
    }
}
